package com.fenqing.annotations;

import com.fenqing.utils.Encoder;

import java.lang.annotation.*;

/**
 * @author fenqing
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Execute {

    boolean isVoid() default false;

    int voidReturnIndex() default -1;

    Class<? extends Encoder> voidReturnEncoder() default Encoder.class;

}
